import Vue from 'vue';
import Vuex from 'vuex';

import user from './modules/user';
import cachedViews from './modules/cachedViews';
import active from './modules/active';
import getters from './getters';


Vue.use(Vuex);

const store = new Vuex.Store({
    modules: {
        user,
        cachedViews,
        active
    },
    getters
});

export default store
